/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.scm.hibernate.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author RANGER
 */
@Table(name = "results")
@Entity
public class Result extends AbstractEntity{
    
    @Id
    @GeneratedValue
    @Column(name = "id")
    private Long id;
    
    @Column(name = "sid")
    private Long sid;
    
    @Column(name = "tid")
    private Long tid;
    
    @Column(name = "status")
    private Boolean status;
    
    @Column(name = "canswer")
    private Integer canswer;
    
    @Column(name = "wanswer")
    private Integer wanswer;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Boolean isStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getCanswer() {
        return canswer;
    }

    public void setCanswer(Integer canswer) {
        this.canswer = canswer;
    }

    public Integer getWanswer() {
        return wanswer;
    }

    public void setWanswer(Integer wanswer) {
        this.wanswer = wanswer;
    }
    
    
    
    
}
